package com.zrwl.poscloud.base.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.zrwl.poscloud.base.superI.SuperEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@ToString
@TableName("psms_tb_grade_teacher_r")
public class GradeTeacherR extends SuperEntity<Grade> {
    private static final long serialVersionUID = 1L;
    @ApiModelProperty("班级UID")
    private String gradeUid;
    @ApiModelProperty("人员UID")
    private String employeeUid;
    @ApiModelProperty("教师类型(0:班主任,1-n自定义字典)")
    private int subjectType;
    @ApiModelProperty("假条通知(0:未开启,1:已开启)")
    private int leaveInform;
    @ApiModelProperty("假条审核(0:未开启,1:已开启)")
    private int leaveCheck;
    @ApiModelProperty("作业发布(0:未开启,1:已开启)")
    private int taskPublish;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("开始时间")
    private Date beginTime;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("结束时间")
    private Date endTime;
    private String companyCode;
}
